package lab02.test10;

public class ChinaPeople extends People {
    @Override
    void getName() {
        super.getName();
    }

    @Override
    void getSex() {
        super.getSex();
    }

    @Override
    void getAge() {
        super.getAge();
    }

    @Override
    void getIdNum() {
        super.getIdNum();
    }

    @Override
    void getAddress() {
        super.getAddress();
    }

    public String toString(){
        return "姓名是："+name+"   "+"性别是："+sex+"   "+"年龄是："+age+"   "+"身份证号是："+idNum+"   "+"地址是："+address+"   ";
    }
}
